package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.common.PageResult5;
import com.itheima.common.Result3;
import com.itheima.entity.Articles;

public interface ArticlesService extends IService<Articles> {
    PageResult5 findPage(Integer page, Integer pagesize, String keyword, Integer state);

    void add(Articles articles, String username);

    Result3 updateState(Integer id, Integer state);
}
